package org.nfyszny.zzzs.modules.mapper;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.vo.OperateReportVo;
import org.nfyszny.zzzs.modules.entity.ZzzsExamine;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.nfyszny.zzzs.modules.vo.TimeOutVo;

import java.util.Date;
import java.util.List;

/**
 * @Description: 审批表
 * @Author: jeecg-boot
 * @Date: 2022-11-14
 * @Version: V1.0
 */
public interface ZzzsExamineMapper extends BaseMapper<ZzzsExamine> {

    List<TimeOutVo> getYearTimeoutInfo(@Param("list") List<String> list, @Param("year") Date year, @Param("userid") String userid);

    List<TimeOutVo> getQuarteTimeoutInfo(@Param("list") List<String> list, @Param("quarter") String quarte, @Param("userid") String userid);

    List<TimeOutVo> getMonthTimeoutInfo(@Param("list") List<String> list, @Param("date") Date date, @Param("userid") String userid);

    List<OperateReportVo> examineCountYear(@Param("list") List<String> list, @Param("year") Date date, @Param("userid") String userid);

    List<OperateReportVo> examineCountQuarte(@Param("list") List<String> list,@Param("quarter") String quarte, @Param("userid") String id);

    List<OperateReportVo> examineErrorCountYear(@Param("list") List<String> list, @Param("year") Date date, @Param("userid") String userid);

    List<OperateReportVo> examineErrorCountQuarte(@Param("list") List<String> list,@Param("quarter") String quarte, @Param("userid") String id);

    List<OperateReportVo> examineCountMonth(@Param("list") List<String> list, @Param("date") Date parse, @Param("userid") String id);

    List<OperateReportVo> examineErrorCountMonth(@Param("list") List<String> list, @Param("date") Date parse, @Param("userid") String id);
}
